package com.shycloud.mido.organ.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("org_stu_order")
@EqualsAndHashCode(callSuper = true)
public class OrgStuOrderEntity extends Model<OrgStuOrderEntity> {
	private static final long serialVersionUID = 1L;
	/**
	 * 主键id
	 */
	@TableId(value = "id", type = IdType.UUID)
	private String id;
	/**
	 * student关联id
	 */
	private String studentId;
	/**
	 * 订单编号
	 */
	private String orderCode;
	/**
	 * 机构id
	 */
	private Integer orgId;
	/**
	 * 套餐名称
	 */
	private String packageName;
	/**
	 * 课程类型ID
	 */
	private Integer lessonTypeId;
	/**
	 * 数目
	 */
	private Integer amount;
	/**
	 * 总价格
	 */
	private BigDecimal total;
	/**
	 * 创建者
	 */
	private String createUser;
	/**
	 * 创建时间
	 */
	private Date createTime;
}
